package org.coone.veteran.basic.function.lambda;

/**
 * Lambda表达式 一个参数对象创建
 * 
 * @author yangpeng
 */
public class LambdaOneArgumentsDemo {

	public static void main(String[] args) {
		EventCallback ec = r -> {
			System.out.println("hello world!11111111");
		};

		ec.call(() -> System.out.println("hello world!22222222"));
	}
}
